﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace B.S.Meeting.Infrastructure.Migrations
{
    public partial class 添加审批会议预约表 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "ApproveReservation",
                columns: table => new
                {
                    ApproveReservationId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ApproveReservationName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ApproveReservationOpinion = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ApproveReservationStatus = table.Column<int>(type: "int", nullable: false),
                    MeetingReservationId = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_ApproveReservation", x => x.ApproveReservationId);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "ApproveReservation");
        }
    }
}
